#ifndef QRSAGSBUFFERANALYSIS_H
#define QRSAGSBUFFERANALYSIS_H

#include <QDialog>
#include <QList>

#include "qgsmaplayer.h"
#include "qgsapplication.h"
#include "qgswkbtypes.h"
#include "qgsprocessing.h"
#include "qgsmapcanvas.h"

namespace Ui {
    class QRSAGSBufferAnalysis;
}

class QRSAGSBufferAnalysis : public QDialog
{
    Q_OBJECT

public:
    QRSAGSBufferAnalysis(QWidget *parent = nullptr, QgsMapCanvas *mapCanvas = nullptr);
    ~QRSAGSBufferAnalysis();

    QgsMapCanvas *mMapCanvas = nullptr;
    QList<QgsMapLayer*> mActivateMapLayers;
    bool isCanceled = false;

private:
    Ui::QRSAGSBufferAnalysis *ui;

private slots:
    void bufferProcessing(bool);
    void cancelProcessing(bool);
    void quitBufferAnalysis(bool);
    void setSelectedFeaturesCheckBoxEnabled(int);
};

#endif // QRSAGSBUFFERANALYSIS_H
